Optimal. Leaf size=24 \[ \frac{(c \sin (a+b x))^{m+1}}{b c (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0248876, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {2564, 30} \[ \frac{(c \sin (a+b x))^{m+1}}{b c (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2564
Rule 30
Rubi steps
\begin{align*} \int \cos (a+b x) (c \sin (a+b x))^m \, dx &=\frac{\operatorname{Subst}\left (\int x^m \, dx,x,c \sin (a+b x)\right )}{b c}\\ &=\frac{(c \sin (a+b x))^{1+m}}{b c (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0106087, size = 25, normalized size = 1.04 \[ \frac{\sin (a+b x) (c \sin (a+b x))^m}{b (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0., size = 25, normalized size = 1. \begin{align*}{\frac{ \left ( c\sin \left ( bx+a \right ) \right ) ^{1+m}}{bc \left ( 1+m \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.45774, size = 58, normalized size = 2.42 \begin{align*} \frac{\left (c \sin \left (b x + a\right )\right )^{m} \sin \left (b x + a\right )}{b m + b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.67533, size = 58, normalized size = 2.42 \begin{align*} \begin{cases} \frac{x \cos{\left (a \right )}}{c \sin{\left (a \right )}} & \text{for}\: b = 0 \wedge m = -1 \\x \left (c \sin{\left (a \right )}\right )^{m} \cos{\left (a \right )} & \text{for}\: b = 0 \\\frac{\log{\left (\sin{\left (a + b x \right )} \right )}}{b c} & \text{for}\: m = -1 \\\frac{c^{m} \sin{\left (a + b x \right )} \sin ^{m}{\left (a + b x \right )}}{b m + b} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13567, size = 32, normalized size = 1.33 \begin{align*} \frac{\left (c \sin \left (b x + a\right )\right )^{m + 1}}{b c{\left (m + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]